package com.hemerasolutions.v2trainer.component.detail;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.hemerasolutions.v2trainer.component.BaseComponent;
import com.hemerasolutions.v2trainer.component.interfaces.detail.StatisticDetailsCompInterface;
import com.hemerasolutions.v2trainer.model.training.statistic.TrainingStatistic;

@Component("statisticDetails")
@Scope("prototype")
public class StatisticDetailsComp extends BaseComponent implements StatisticDetailsCompInterface {

	private static final long serialVersionUID = 1L;
	
	private TrainingStatistic trainingStatistic;
	
	@Override
	public void refresh() {
		
	}

	@Override
	public TrainingStatistic getTrainingStatistic() {
		return trainingStatistic;
	}

	@Override
	public void setTrainingStatistic(TrainingStatistic trainingStatistic) {
		this.trainingStatistic = trainingStatistic;
	}

}
